vscode里突然.vue文件代码没有高亮 |
您所在的位置:网站首页 › vscode vue代码没有颜色 › vscode里突然.vue文件代码没有高亮 |
el-table实现单选
女程序媛的修炼笔记: 看看el-table上的ref有没有和我的一样哦 el-table实现单选TheDragonKing: 上面用的是scss ,css的话如下: [code=css] /deep/ .has-gutter .el-checkbox{ { display: none; } } [/code] 或者 [code=css] :deep( .has-gutter .el-checkbox){ { display: none; } } [/code] el-table实现单选chongrubujingg: css不生效咋办 el-table实现单选TheDragonKing: [code=javascript] dialogCheck: function(selection, row) { this.$refs.table.clearSelection() this.selectioned = {} //这里清除选择的记忆;主要是避免取消掉原来选中的还残留原来选中的东西 if (selection.length === 0) { // 判断selection是否有值存在 return } if (row) { this.selectioned = row this.$refs.table.toggleRowSelection(row, true) } }, [/code] 这样会好点 点击头像选择图片更换头像monkey xjl: 俺也一样 |
今日新闻 |
推荐新闻 |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |